home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / accessibility / nsIAccessibleCaret.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  3KB  |  106 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIAccessibleCaret.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIAccessibleCaret_h__
  6. #define __gen_nsIAccessibleCaret_h__
  7.  
  8.  
  9. #ifndef __gen_nsISupports_h__
  10. #include "nsISupports.h"
  11. #endif
  12.  
  13. #ifndef __gen_nsIDOMNode_h__
  14. #include "nsIDOMNode.h"
  15. #endif
  16.  
  17. /* For IDL files that don't want to include root IDL files. */
  18. #ifndef NS_NO_VTABLE
  19. #define NS_NO_VTABLE
  20. #endif
  21.  
  22. /* starting interface:    nsIAccessibleCaret */
  23. #define NS_IACCESSIBLECARET_IID_STR "9124c666-6133-4be6-b3ed-dd0ec35f1e64"
  24.  
  25. #define NS_IACCESSIBLECARET_IID \
  26.   {0x9124c666, 0x6133, 0x4be6, \
  27.     { 0xb3, 0xed, 0xdd, 0x0e, 0xc3, 0x5f, 0x1e, 0x64 }}
  28.  
  29. class NS_NO_VTABLE nsIAccessibleCaret : public nsISupports {
  30.  public: 
  31.  
  32.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IACCESSIBLECARET_IID)
  33.  
  34.   /* void attachNewSelectionListener (in nsIDOMNode aFocusedNode); */
  35.   NS_IMETHOD AttachNewSelectionListener(nsIDOMNode *aFocusedNode) = 0;
  36.  
  37.   /* void removeSelectionListener (); */
  38.   NS_IMETHOD RemoveSelectionListener(void) = 0;
  39.  
  40. };
  41.  
  42. /* Use this macro when declaring classes that implement this interface. */
  43. #define NS_DECL_NSIACCESSIBLECARET \
  44.   NS_IMETHOD AttachNewSelectionListener(nsIDOMNode *aFocusedNode); \
  45.   NS_IMETHOD RemoveSelectionListener(void); 
  46.  
  47. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  48. #define NS_FORWARD_NSIACCESSIBLECARET(_to) \
  49.   NS_IMETHOD AttachNewSelectionListener(nsIDOMNode *aFocusedNode) { return _to AttachNewSelectionListener(aFocusedNode); } \
  50.   NS_IMETHOD RemoveSelectionListener(void) { return _to RemoveSelectionListener(); } 
  51.  
  52. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  53. #define NS_FORWARD_SAFE_NSIACCESSIBLECARET(_to) \
  54.   NS_IMETHOD AttachNewSelectionListener(nsIDOMNode *aFocusedNode) { return !_to ? NS_ERROR_NULL_POINTER : _to->AttachNewSelectionListener(aFocusedNode); } \
  55.   NS_IMETHOD RemoveSelectionListener(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveSelectionListener(); } 
  56.  
  57. #if 0
  58. /* Use the code below as a template for the implementation class for this interface. */
  59.  
  60. /* Header file */
  61. class nsAccessibleCaret : public nsIAccessibleCaret
  62. {
  63. public:
  64.   NS_DECL_ISUPPORTS
  65.   NS_DECL_NSIACCESSIBLECARET
  66.  
  67.   nsAccessibleCaret();
  68.  
  69. private:
  70.   ~nsAccessibleCaret();
  71.  
  72. protected:
  73.   /* additional members */
  74. };
  75.  
  76. /* Implementation file */
  77. NS_IMPL_ISUPPORTS1(nsAccessibleCaret, nsIAccessibleCaret)
  78.  
  79. nsAccessibleCaret::nsAccessibleCaret()
  80. {
  81.   /* member initializers and constructor code */
  82. }
  83.  
  84. nsAccessibleCaret::~nsAccessibleCaret()
  85. {
  86.   /* destructor code */
  87. }
  88.  
  89. /* void attachNewSelectionListener (in nsIDOMNode aFocusedNode); */
  90. NS_IMETHODIMP nsAccessibleCaret::AttachNewSelectionListener(nsIDOMNode *aFocusedNode)
  91. {
  92.     return NS_ERROR_NOT_IMPLEMENTED;
  93. }
  94.  
  95. /* void removeSelectionListener (); */
  96. NS_IMETHODIMP nsAccessibleCaret::RemoveSelectionListener()
  97. {
  98.     return NS_ERROR_NOT_IMPLEMENTED;
  99. }
  100.  
  101. /* End of implementation class template. */
  102. #endif
  103.  
  104.  
  105. #endif /* __gen_nsIAccessibleCaret_h__ */
  106.